package com.gcit.seniorWish.web.common.persistence.model;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 中考考生信息表
 * </p>
 *
 * @author tonglu
 * @since 2018-03-20
 */
@TableName("senior_examinee")
public class SeniorExaminee extends Model<SeniorExaminee> {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId(value = "id", type = IdType.UUID)
	private String id;
	/**
	 * 准考证号
	 */
	@TableField("exam_card_number")
	private String examCardNumber;
	/**
	 * 考场号
	 */
	@TableField("exam_site_number")
	private String examSiteNumber;
	/**
	 * 座位号
	 */
	@TableField("seat_number")
	private String seatNumber;
	/**
	 * 考生姓名
	 */
	@TableField("student_name")
	private String studentName;
	/**
	 * 性别
	 */
	private String gender;
	/**
	 * 出生年月
	 */
	private Date birthday;
	/**
	 * 民族
	 */
	private String nation;
	/**
	 * 籍贯
	 */
	@TableField("native_place")
	private String nativePlace;
	/**
	 * 政治面貌
	 */
	@TableField("political_name")
	private String politicalName;
	/**
	 * 考生类型名称
	 */
	@TableField("student_type_name")
	private String studentTypeName;
	/**
	 * 身份证号码
	 */
	@TableField("id_card")
	private String idCard;
	/**
	 * 联系电话1
	 */
	private String phone1;
	/**
	 * 联系电话2
	 */
	private String phone2;
	/**
	 * 户籍地区代码
	 */
	@TableField("residence_area_code")
	private String residenceAreaCode;
	/**
	 * 户籍地址
	 */
	@TableField("residence_address")
	private String residenceAddress;
	/**
	 * 学籍号
	 */
	@TableField("student_number")
	private String studentNumber;
	/**
	 * 建档号
	 */
	@TableField("archives_number")
	private String archivesNumber;
	/**
	 * 所属中学id
	 */
	@TableField("senior_school_id")
	private String seniorSchoolId;
	/**
	 * 班级代号
	 */
	@TableField("senior_class_id")
	private String seniorClassId;
	/**
	 * 头像存储地址
	 */
	@TableField("header_path")
	private String headerPath;
	/**
	 * 填报状态（1：已填报；0：未填报）
	 */
	@TableField("write_status")
	private Integer writeStatus;
	/**
	 * 确认状态（1：已确认；0：未确认）
	 */
	@TableField("confirm_status")
	private Integer confirmStatus;
	/**
	 * 是否放弃（1：已放弃；0：未放弃）
	 */
	@TableField("is_abandoned")
	private Integer isAbandoned;
	/**
	 * 加分分数
	 */
	@TableField("plus_score")
	private BigDecimal plusScore;
	/**
	 * 加分类型
	 */
	@TableField("plus_type")
	private String plusType;

	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;

	/**
	 * 创建者id
	 */
	@TableField(fill = FieldFill.INSERT)
	private String createBy;

	/**
	 * 更新时间
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date modifyTime;

	/**
	 * 更新者id
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private String modifyBy;

	/**
	 * 删除标记
	 */
	@TableField(fill = FieldFill.INSERT)
	@TableLogic
	private Integer delFlag;

	/**
	 * 学生当前所在学校名称
	 */
	@TableField(exist=false)
	private String seniorSchoolName;

	/**
	 * 学生当前所在班级名称
	 */
	@TableField(exist=false)
	private String seniorClassName;

	/**
	 * 学生填报的志愿信息
	 */
	@TableField(exist=false)
	private SeniorWish seniorWish;

	/**
	 * 考生成绩
	 */
	@TableField(exist=false)
	private ExamineeScore examineeScore;

	public Integer getIsAbandoned() {
		return isAbandoned;
	}

	public void setIsAbandoned(Integer isAbandoned) {
		this.isAbandoned = isAbandoned;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getExamCardNumber() {
		return examCardNumber;
	}

	public void setExamCardNumber(String examCardNumber) {
		this.examCardNumber = examCardNumber;
	}

	public String getExamSiteNumber() {
		return examSiteNumber;
	}

	public void setExamSiteNumber(String examSiteNumber) {
		this.examSiteNumber = examSiteNumber;
	}

	public String getSeatNumber() {
		return seatNumber;
	}

	public void setSeatNumber(String seatNumber) {
		this.seatNumber = seatNumber;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getNation() {
		return nation;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	public String getNativePlace() {
		return nativePlace;
	}

	public void setNativePlace(String nativePlace) {
		this.nativePlace = nativePlace;
	}

	public String getPoliticalName() {
		return politicalName;
	}

	public void setPoliticalName(String politicalName) {
		this.politicalName = politicalName;
	}

	public String getStudentTypeName() {
		return studentTypeName;
	}

	public void setStudentTypeName(String studentTypeName) {
		this.studentTypeName = studentTypeName;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getPhone1() {
		return phone1;
	}

	public void setPhone1(String phone1) {
		this.phone1 = phone1;
	}

	public String getPhone2() {
		return phone2;
	}

	public void setPhone2(String phone2) {
		this.phone2 = phone2;
	}

	public String getResidenceAreaCode() {
		return residenceAreaCode;
	}

	public void setResidenceAreaCode(String residenceAreaCode) {
		this.residenceAreaCode = residenceAreaCode;
	}

	public String getResidenceAddress() {
		return residenceAddress;
	}

	public void setResidenceAddress(String residenceAddress) {
		this.residenceAddress = residenceAddress;
	}

	public String getStudentNumber() {
		return studentNumber;
	}

	public void setStudentNumber(String studentNumber) {
		this.studentNumber = studentNumber;
	}

	public String getArchivesNumber() {
		return archivesNumber;
	}

	public void setArchivesNumber(String archivesNumber) {
		this.archivesNumber = archivesNumber;
	}

	public String getSeniorSchoolId() {
		return seniorSchoolId;
	}

	public void setSeniorSchoolId(String seniorSchoolId) {
		this.seniorSchoolId = seniorSchoolId;
	}

	public String getSeniorClassId() {
		return seniorClassId;
	}

	public void setSeniorClassId(String seniorClassId) {
		this.seniorClassId = seniorClassId;
	}

	public String getHeaderPath() {
		return headerPath;
	}

	public void setHeaderPath(String headerPath) {
		this.headerPath = headerPath;
	}

	public Integer getWriteStatus() {
		return writeStatus;
	}

	public void setWriteStatus(Integer writeStatus) {
		this.writeStatus = writeStatus;
	}

	public Integer getConfirmStatus() {
		return confirmStatus;
	}

	public void setConfirmStatus(Integer confirmStatus) {
		this.confirmStatus = confirmStatus;
	}

	public BigDecimal getPlusScore() {
		return plusScore;
	}

	public void setPlusScore(BigDecimal plusScore) {
		this.plusScore = plusScore;
	}

	public String getPlusType() {
		return plusType;
	}

	public void setPlusType(String plusType) {
		this.plusType = plusType;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}

	public String getModifyBy() {
		return modifyBy;
	}

	public void setModifyBy(String modifyBy) {
		this.modifyBy = modifyBy;
	}

	public Integer getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Integer delFlag) {
		this.delFlag = delFlag;
	}

	public String getSeniorSchoolName() {
		return seniorSchoolName;
	}

	public void setSeniorSchoolName(String seniorSchoolName) {
		this.seniorSchoolName = seniorSchoolName;
	}

	public String getSeniorClassName() {
		return seniorClassName;
	}

	public void setSeniorClassName(String seniorClassName) {
		this.seniorClassName = seniorClassName;
	}

	public SeniorWish getSeniorWish() {
		return seniorWish;
	}

	public void setSeniorWish(SeniorWish seniorWish) {
		this.seniorWish = seniorWish;
	}

	public ExamineeScore getExamineeScore() {
		return examineeScore;
	}

	public void setExamineeScore(ExamineeScore examineeScore) {
		this.examineeScore = examineeScore;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "SeniorExaminee{" + ", id=" + id + ", examCardNumber=" + examCardNumber + ", examSiteNumber="
				+ examSiteNumber + ", seatNumber=" + seatNumber + ", studentName=" + studentName + ", gender=" + gender
				+ ", birthday=" + birthday + ", nation=" + nation + ", nativePlace=" + nativePlace + ", politicalName="
				+ politicalName + ", studentTypeName=" + studentTypeName + ", idCard=" + idCard + ", phone1=" + phone1
				+ ", phone2=" + phone2 + ", residenceAreaCode=" + residenceAreaCode + ", residenceAddress="
				+ residenceAddress + ", studentNumber=" + studentNumber + ", archivesNumber=" + archivesNumber
				+ ", seniorSchoolId=" + seniorSchoolId + ", seniorClassId=" + seniorClassId + ", headerPath="
				+ headerPath + ", writeStatus=" + writeStatus + ", confirmStatus=" + confirmStatus + ", plusScore="
				+ plusScore + ", plusType=" + plusType + ", createTime=" + createTime + ", createBy=" + createBy
				+ ", modifyTime=" + modifyTime + ", modifyBy=" + modifyBy + ", delFlag=" + delFlag + "}";
	}
}
